#pragma once

struct Timer{
	Timer();
	float GetTime();
	float GetDeltaTime();
	void Reset();
	void Start();
	void Stop();
	bool IsStoped(){ return m_stoped; }
	void Tick();

private:
	float	m_secondsPerCount;
	float	m_deltaTime;
	__int64 m_baseTime;
	__int64 m_pausedTime;
	__int64 m_stopTime;
	__int64 m_prevTime;
	__int64 m_currTime;
	bool m_stoped;
};